import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useUserStore = defineStore(
  'user',
  () => {
    const info = ref({
      name: 'jack',
      age: 18,
      token: '',
    })

    return { info }
  },
  { persist: true }
)
